Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 4 - Geometric Objects / Geometric Objects Reference
Geometric Objects Routines / Traversing Mesh Components, Vertices, Faces, and Edges


Q3Mesh_NextComponentVertex

You can use the Q3Mesh_NextComponentVertex function to get the next vertex in a mesh component.

TQ3MeshVertex Q3Mesh_NextComponentVertex (
TQ3MeshIterator *iterator);
iterator
A pointer to a mesh iterator structure.
DESCRIPTION
The Q3Mesh_NextComponentVertex function returns, as its function result, the next vertex in the iteration specified by the iterator parameter, which must have been filled in by a previous call to Q3Mesh_FirstComponentVertex or Q3Mesh_NextComponentVertex. If there are no more vertices, this function returns NULL.

SPECIAL CONSIDERATIONS
The Q3Mesh_NextComponentVertex function might not accurately report the next vertex in a mesh component if called while mesh updating is delayed (that is, after a call to Q3Mesh_DelayUpdates but before the matching call to Q3Mesh_ResumeUpdates).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996